export default [
    {
        path: '/',
        name: 'Home',
        meta: {
            keepAlive: false, //缓存
            tabbar: true, //是否显示
            name: '团购'
        },
        component: () => import('@/views/Home/index.vue'),
    },

    {
        path: '/Presale',
        name: 'Presale',
        meta: {
            keepAlive: false, //缓存
            tabbar: true, //是否显示
            name: '预售'
        },
        component: () => import('@/views/Presale/index.vue'),
    },
    {
        path: '/Cart',
        name: 'Cart',
        meta: {
            keepAlive: false, //缓存
            tabbar: true, //是否显示
            name: '购物车'
        },
        component: () => import('@/views/Cart/index.vue'),
    },
    {
        path: '/Pickup',
        name: 'Pickup',
        meta: {
            keepAlive: false, //缓存
            tabbar: true, //是否显示
            name: '提货'
        },
        component: () => import('@/views/Pickup/index.vue'),
    },
    {
        path: '/User',
        name: 'User',
        meta: {
            keepAlive: false, //缓存
            tabbar: true, //是否显示
            name: '我的'
        },
        component: () => import('@/views/User/index.vue'),
    },
    {
        path: '/LocalLife', 
        name: 'LocalLife',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '本地生活'
        },
        component: () => import('@/views/LocalLife/index.vue'),
    },
    {
        path: '/ProductDetails', 
        name: 'ProductDetails',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '商品详情'
        },
        component: () => import('@/views/ProductDetails/index.vue'),
    },
    {
        path: '/login', //本地生活
        name: 'login',
        meta: {
            keepAlive:false, 
            tabbar:false,
             name:'登录'
        },
        component: () => import('@/views/Login/login.vue'), 
    },
    {
        path: '/Store', 
        name: 'Store',
        meta: {
            keepAlive: false,
            tabbar: true,
            name: '我的店铺'
        },
        component: () => import('@/views/Store/index.vue'),
    },
    {
        path: '/StorePresale',
        name: 'StorePresale',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '店铺-预售区'
        },
        component: () => import('@/views/StorePresale/index.vue'),
    }, 
    {
        path: '/MyShop',
        name: 'MyShop',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '我的-我的店铺'
        },
        component: () => import('@/views/MyShop/index.vue'),
    },
    {
        path: '/Agreement',
        name: 'Agreement',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '协议'
        },
        component: () => import('@/views/Login/agreement.vue'),
    },
    {
        path: '/Register',
        name: 'Register',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '注册'
        },
        component: () => import('@/views/Login/register.vue'),
    },
    {
        path: '/editPassword',
        name: 'editPassword',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '修改密码'
        },
        component: () => import('@/views/User/editPassword.vue'),
    },
    {
        path: '/Balance',
        name: 'Balance',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '我的余额'
        },
        component: () => import('@/views/Balance/index.vue'),
    },
    {
        path: '/setupDetails',
        name: 'setupDetails',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '个人信息'
        },
        component: () => import('@/views/User/setupDetails.vue'),
    },
    {
        path: '/MyInventory',
        name: 'MyInventory',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '我的库存'
        },
        component: () => import('@/views/MyInventory/index.vue'),
    },
    {
        path: '/goodsList',
        name: 'goodsList',
        meta: {
            keepAlive: false,
            tabbar: false,
            name: '商品列表'
        },
        component: () => import('@/views/Home/goodsList.vue'),
    },
];